﻿using DevExpress.XtraEditors;
using DXApplicationTangche.Utils.UC;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DXApplicationTangche.UC.dataTable.UC
{
    public partial class XtraUserControlString : DevExpress.XtraEditors.XtraUserControl
    {
        public XtraUserControlString(ParaDefineDTO paraDefineDTO)
        {
            InitializeComponent();
            this.textBox1.Name = paraDefineDTO.paraId;
            this.layoutControlItem1.Text = paraDefineDTO.paraName;
        }
        public override string ToString()
        {
            return this.textBox1.Text.Trim().ToString();
        }
    }
}
